/* 系统主页 */
import React from 'react';
import { connect } from 'dva';
import { Layout, Breadcrumb } from 'antd';

import LayoutHeader from '../../../components/layout/AdminHeaderLayout';
import LayoutSider from '../../../components/layout/AdminSiderLayout';
import LayoutFooter from '../../../components/layout/AdminFooterLayout';


const { Content, Sider } = Layout;

function HomePage() {
  return (
    <Layout>

      <LayoutHeader />
      <Sider className="admin-sider"><LayoutSider /></Sider>

      <Content className="admin-content">
        <Breadcrumb style={{ margin: '15px 0' }}>
          <Breadcrumb.Item>Home</Breadcrumb.Item>
          <Breadcrumb.Item>List</Breadcrumb.Item>
          <Breadcrumb.Item>App</Breadcrumb.Item>
        </Breadcrumb>
        <h1>这是系统主页</h1>
      </Content>
      <LayoutFooter />
    </Layout>
  );
}

export default connect()(HomePage);
